<?
session_start();
class c{
	var $array;
	function def(){
	}
	function set($array){
		$this->array=$array;
	}
	function dpl($c,$v){
		$html=file_get_contents('v/'.$c.'/'.$v.'.html');
		if(count($this->array)>0){
			echo strtr($html,$this->array);
		}else{
			echo $html;
		}
	}
}
?>